<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="node_modules/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
{{name}}是你爸爸，有{{num}}个儿子
    <br>
    <input type="text" v-model="num">


</div>
<script>
   var  dataobj={
       name:"柯震南",
           num:0
   }



    var vm = new Vue({
        el:"#app",
       data:dataobj




    })

</script>


</body>
</html>